* fns.c: Don't overflow int when computing a list length.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2011 22:32:12 +0000 (15:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2011 22:32:12 +0000 (15:32 -0700)
commit5018a2268a1873b8b324afa338f9a061e0dfed95
tree625225e365fee7a090d5e89b8d3c11d24d8ea313
parent3bb6234fa97ab976a1b33e3510a941754617d574
* fns.c: Don't overflow int when computing a list length.

(Fsafe_length): Return a float if the value is not representable
as a fixnum.  This shouldn't happen except in contrived situations.
Use same QUIT_COUNT_HEURISTIC as Flength now does.
src/ChangeLog
src/fns.c